package com.zhou.bjgl.bjgl.resp;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 *
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BHoliday对象", description="")
public class BHolidayResp implements Serializable{

    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long studentId;

    private String reson;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long collegeId;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long classId;

    private Double latitude;

    private Double longitude;

    private String className;

    private String collegeName;

    private String username;

    private String name;

    private String goArea;

    private String backArea;

    private Double backLatitude;

    private Double backLongitude;

    private String notBackReson;

    private String notArrivedReson;

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date endTime;

    private Integer checked;

    @ApiModelProperty(value = "1:同意 0:不同意")
    private Integer agree;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date createTime;



}
